package com.cal.utms.dto.maintenance;

import java.util.ArrayList;
import java.util.List;

import com.cal.utms.entity.Issuer;

public class IssuerDto {

	private int id;
	private String address;
	private String code;
	private int creditRating;
	private String email;
	private String fax;
	private String name;
	private String phone;
	private String ratingGivenBy;
	private int issuerTypeId;
	private List<IssuerDto> issuerDtos = new ArrayList<IssuerDto>();
	private List<Issuer> issuers;
	private boolean success;
	private String resultMsg;
	private String companyRegNo;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getCreditRating() {
		return creditRating;
	}

	public void setCreditRating(int creditRating) {
		this.creditRating = creditRating;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRatingGivenBy() {
		return ratingGivenBy;
	}

	public void setRatingGivenBy(String ratingGivenBy) {
		this.ratingGivenBy = ratingGivenBy;
	}

	public List<IssuerDto> getIssuerDtos() {
		return issuerDtos;
	}

	public void setIssuerDtos(List<IssuerDto> issuerDtos) {
		this.issuerDtos = issuerDtos;
	}

	public int getIssuerTypeId() {
		return issuerTypeId;
	}

	public void setIssuerTypeId(int issuerTypeId) {
		this.issuerTypeId = issuerTypeId;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public List<Issuer> getIssuers() {
		return issuers;
	}

	public void setIssuers(List<Issuer> issuers) {
		this.issuers = issuers;
	}

	public String getResultMsg() {
		return resultMsg;
	}

	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}

	public String getCompanyRegNo() {
		return companyRegNo;
	}

	public void setCompanyRegNo(String companyRegNo) {
		this.companyRegNo = companyRegNo;
	}

}
